mod master;

use axum::{
    routing::{ get, post, put },
    Router
};

pub fn routes() -> Router{
    Router::new()
    .route("/seaql_migrations", get(master::list).put(master::update))
    .route("/seaql_migrations/del",post(master::del))
    .route("/seaql_migrations/top",put(master::top))
    .route("/seaql_migrations/empty",put(master::empty))
}
